## API Report File for "@backstage/frontend-test-utils"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
/// <reference types="react" />

import { AnalyticsApi } from '@backstage/frontend-plugin-api';
import { AnalyticsEvent } from '@backstage/frontend-plugin-api';
import { ErrorWithContext } from '@backstage/test-utils';
import { ExtensionDefinition } from '@backstage/frontend-plugin-api';
import { JsonObject } from '@backstage/types';
import { MockConfigApi } from '@backstage/test-utils';
import { MockErrorApi } from '@backstage/test-utils';
import { MockErrorApiOptions } from '@backstage/test-utils';
import { MockFetchApi } from '@backstage/test-utils';
import { MockFetchApiOptions } from '@backstage/test-utils';
import { MockPermissionApi } from '@backstage/test-utils';
import { MockStorageApi } from '@backstage/test-utils';
import { MockStorageBucket } from '@backstage/test-utils';
import { RenderResult } from '@testing-library/react';
import { RouteRef } from '@backstage/frontend-plugin-api';
import { setupRequestMockHandlers } from '@backstage/test-utils';
import { TestApiProvider } from '@backstage/test-utils';
import { TestApiProviderProps } from '@backstage/test-utils';
import { TestApiRegistry } from '@backstage/test-utils';
import { withLogCollector } from '@backstage/test-utils';

// @public (undocumented)
export function createExtensionTester<TConfig>(
  subject: ExtensionDefinition<TConfig>,
  options?: {
    config?: TConfig;
  },
): ExtensionTester;

export { ErrorWithContext };

// @public (undocumented)
export class ExtensionTester {
  // (undocumented)
  add<TConfig>(
    extension: ExtensionDefinition<TConfig>,
    options?: {
      config?: TConfig;
    },
  ): ExtensionTester;
  // (undocumented)
  render(options?: { config?: JsonObject }): RenderResult;
}

// @public
export class MockAnalyticsApi implements AnalyticsApi {
  // (undocumented)
  captureEvent(event: AnalyticsEvent): void;
  // (undocumented)
  getEvents(): AnalyticsEvent[];
}

export { MockConfigApi };

export { MockErrorApi };

export { MockErrorApiOptions };

export { MockFetchApi };

export { MockFetchApiOptions };

export { MockPermissionApi };

export { MockStorageApi };

export { MockStorageBucket };

// @public
export function renderInTestApp(
  element: JSX.Element,
  options?: TestAppOptions,
): RenderResult;

export { setupRequestMockHandlers };

export { TestApiProvider };

export { TestApiProviderProps };

export { TestApiRegistry };

// @public
export type TestAppOptions = {
  mountedRoutes?: {
    [path: string]: RouteRef;
  };
};

export { withLogCollector };
```
